package com.online.teaching.module.student.homework.domian.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;

/**
 * @ClassName : AnswerUpdateDTO  //类名
 * @Description :   //描述
 * @Author : YG  //作者
 * @Date: 2020-11-04 20:52  //时间
 */
@Data
public class AnswerUpdateDTO extends AnswerAddDTO{
    @ApiModelProperty(value = "答案id")
    @NotNull(message = "请输入正确的答案id")
    private Integer answerId;
}
